package com.sunlee.common.service.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 商品表
 *
 * @author sunlee
 */
@Data
@ApiModel(value = "商品表")
public class ProductDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "主键")
	private Long id;

	@ApiModelProperty(value = "标题")
	private String title;

	@ApiModelProperty(value = "商品名称")
	private String name;

	@ApiModelProperty(value = "销售价")
	private Double salesPrice;

	@ApiModelProperty(value = "原价")
	private Double originalPrice;

	@ApiModelProperty(value = "状态(0无效 1有效)")
	private Integer status;

	@ApiModelProperty(value = "商品图标")
	private String icon;

	@ApiModelProperty(value = "多图")
	private String multiImg;

	@ApiModelProperty(value = "全图")
	private String allImg;

	@ApiModelProperty(value = "简短描述")
	private String shortDesc;

	@ApiModelProperty(value = "商品详情（富文本）")
	private String richText;

	@ApiModelProperty(value = "标签（逗号分隔）")
	private String tag;

	@ApiModelProperty(value = "创建时间")
	private Date createDate;

	@ApiModelProperty(value = "修改时间")
	private Date updateDate;

	@ApiModelProperty(value = "下载地址")
	private String downloadUrl;

	@ApiModelProperty(value = "缺失字体")
	private String missFont;

	@ApiModelProperty(value = "排序")
	private Integer sort;

	private ProductActionDTO actionData;
}
